fix catalog selection. Fixes #185