avoid alert in demo