used encodeURI() before sending data on POST table and index metadata