fixing some kecodes