fixed the routes to recgonize a negative number in qr code