fixed typo in isMapProtectionEnabled