adding stringNotEqual security check