fix table view layout