fix type boolean