Fixed layout bug in edit page