fix evaluation in fun function, swap in for curry