small devise fix