fix some metadata things