fixing the last attribute that we added for device