Fixed Catalan functions