added analyzer of negetive number; fixed notification about error