change target and cap