fix wrong codes in throwing out wrong messages under GET