remove bool conversion