fix getprotectionsettings