make some corrections