bugfix in battery-tray