added overriden method to sanitize dollar input