Minor fixes in picture publishing process.