fixed can not remove slashes
added remove slashes function