ticket:3 remove junk exception from middleware