Fixed directions loading bug