Remplace function read/write by optional read/write
Temporary Fix parametter name