removed window. from alert messages