fixed parser for inspection token