Make last modified date work