device selector is not working