remove dead code
Boolean is missed