fixed char *-like void * handling