fixed bug in cloud preferences instantiation