fixed nonmatching function headers