small bug when WITH_MAGICK
Merge pull request #52 from kerautret/debugNewMaster

small bug when WITH_MAGICK