fixed error with format string