error in uniform kernel