fix: comparison is always false due to limited range of data type