fixed path handling.