fixes to add target

should work good now