fix bug with the /query/mapping data