Fixed readsetting bug.