fix for overflow detection