dupcy: fixed shelve bug