prepare for error return reading token