fix moveCategory bug