FIX: target syntax checking wrongly done.