fixed no category insert bug