fixed sattribute selection to take all defined image-attributes into account