Fixed alert message not appearing correctly in windows