fixed ffunc regression (possible fixed in other branch, just dated here)