fixing alerts and removing code in cesium core