fix duplicate target definition