FIx a Logic Problem