fixed a little bug on Kobra