Fix move condition