fix bug on cat