Alert message bug fixed