Fixes currying errors