fixing overlooked errors