removed escape function from share functions