Return null value instead of -1