fix loosing last switch in bucket