clean inputbase from void pointers