bad string formatting found and fixed