layout issues when rendered