Fix variable name in getLastModified