validate & stop injecting