correction of some errors