fixed metadata clear shtuff