fix issue on macbook