changed bat switch behavior