added toString, fix for OUnused and null reg