bugfix in pictures module