remove write protection