Bug fix with cat selection