fixed prefactor stuff to not bug out when reading in log file