add some error checks to cfg desc open.