Fixing read and write events to go through call back mechanism