fixed some layout issues.