fixes Sonar issue about Constructor calls overridable method