fixed for check mac