fix last-modified error
don't handle dir