fixing corrupted last category issue with oware