fixed path to resources directory