corrected bug of duplicated signal connections
bugfix originated by using raster layers