fixed metadata length in level editor