fix bootstrap helper undefind method error.