added alert to init