solve input bug, but it is still SAT