move escape function to Build