write protecton now turned on on mod exit