remove cast to bool