fixed both supid mistakes