Fixing Edge Gradient Inconsistency