fixing the open attrs for read write
merging