minor changes to alert text and not showing -1 as -1 (use 0)