fixed an error with catnip