cast strings to char-pointer to prevent warnings