Path case bug fixed