debug info and made sure instance parameters are set