fix partial application