fix for neg val