fixes some errors
adds hook_uninstall for removing configuration after uninstall