i looked over it ...

i think maybe you should try reset=target

or the others are right and you have to place reset after the [] conditions, but i don´t think this is the fact.