Fixed bug in om.read()