fixing cap configuration