remove metadata
modified version