remove default for const char to NULL, crashes on UNIX