added a few stripslashes to fix bugs with search, insert and lasso.