Uhuru Kenyatta says election day glitches could have been avoided