correct error with format statement