fix stupid bug calling function get_last_modified_time and passing it as function argument