crashing after you choose a category