added so controller works on devices