Fixes function composition