bugfix: train driving level not affected anymore by function state changes