clear osid after flavor is uninstalled
fix exception handler