fixed last modified bug