fixed BOOL paramater warnings