Fixed spy bug