correct error on category array