fix bug: controller was created before DOM was ready