add options debug code
Fixed uninstall error