fixed toString of constructor type