fixed alert, and added version