Why the embedded form is not displaying properly?