fix to bypass incorrect check on mac