correct some prototypes