Escape function for lists added