fix string formatting operation error