this fixes a few layout issues