fix signedness of 0