Incorrect tag value to write issue fixed.