Incorrectly referenced pathname, this corrects it