removed unnecessary endorsed dir params