configuration and some layout issues