fixed some function headers