format fix and bad variable usage fix for --benchfile