fix for mac users