check negative flag