fixed bug with string format in application