fix mtime compare