fix mtime convert to int directly exception