that was it, has to pull reset after the condition, thanks for everyone quick reply.