newInstance and fixes