Some mac fix