Fixed error caused by signed value

Entering signed value in fex field, i.e (-1) caused invalid character error.