fix some npe
disable twig block name completion, its blocked by twig plugin. see WI-20266