modify some prototypes