fixed extra if statement kernel checked

forgot to update to versions 1.2.8.1