COMMON fix for write/read REAL datatypes