don't crash if hash doesn't have c.type