newInstance fix