added debug ucli's and minor fixes