Fix error reusing same var name in category menu