fixed metrics collection mtime bug