Fix layout for table application