changed absolete conversion of constant string to char*