and another type mismatch on mac