fix mock cfg path and clean up parameters