correcting cdi config