bug in model location and category