fixed BOOL paramater warnings

passing nil instead of BOOL to avoid compile warnings