fix with mac version