small fix for devices