fixed small issue with alert