edited some errors from last commit