adding alert to replace error interim API changes