fixing issue 15: DeviceMixin freezes bot