fixing bug and test