fixes various errors