avoid violations on const char*