cleanup prototypes