fix format string in Errorf call