eliminate error and warning in p21read.cc