Fixed alert once issue