added alert for debug