tracker: fix encodeQuery
redesign ui from scratch