Added debug outou`put leveling and fixed bug in f_sv_add()