fix horizontal form layout