fixed duplicate number guess but caused other issues