fixed path passing issue