newCap bug

Make sure constructorName is defined