cleanup of fmt