bugfix for supported targets restrictions