remove slashes from get and post