fixed buged thanks to not passing tests