adding two quick line fixes per ethans comments