Reversed the logic for the  fix