modifications due to the upgrade of angualar to the new version