fix debug line
add deregister instances action