fixed extreme cases