Fix to funmode in Patcher