getType fix