removed dead code
Fixed issue on missing breakpoint
Sometimes instance is None