CodeType fix