change BOOL to bool