fixed for mac