fixed bug from previous commit, thisiswhyweneedtests