Made some minor bug fixes