PictureManager empty file bug removed