fixed empty chest check