corrects a few errors