bug reading target spans in terms
solving bug in reading terms