fix erroneous write enable