added hack for lib read so