fixed some header stuff and a typo