fixed a bug in bootstrapWF-IOL-Read and ordered the code