Fixed metadata margin bug