fix in constructor