added alert for cloud code callback