fixed matching of guess and code