fixes typos and config