Fixed wrong directory issue