size read write fixes