Made minor change for compatibility with stormflash