fix Boolean -> BOOL