fix register handling bug in store