fix some formatting and cell alignment