cleans up meta info