createAlert API is fixed