corrected the protection style