minor bugfixes in module Photon, List2, etc.