bug fix after i wrote the test #69