change adding beforeConstruct event. It -can't be attached, so need internal method