fixed metadata problems