removed escape/unescape due to deprecation - used a replace "'" with "`"