correct layout issues