value flow: fixed segfault and added more handling of unsigned values