fix partial definitions