changed device.rb in initializers
removed aws references