fix #242 simplify form room with directives