Bug with newType