Fixed a little bug in ReadWidget implementation.