fix cap configuration