Fixing last checked problem in mac