updates some errors found in testing