corrected some layout issues