remove useless void* overloads, fix some errors