fixing the "Error to use a section registered as allowDefinition='MachineToApplication' beyond application level" bug

http://stackoverflow.com/questions/9300927/error-to-use-a-section-registered-as-allowdefinition-machinetoapplication-beyo