some code to help debug maestrodev issues