fixing metadata editor layout