fixed bug #442 Images lose path