fix in' typos and cleaning up resources