fixed chest refilling bug