fixed format string argument error, resulting in crash