refractored graceFulReload hotfix