fixed some problens with image paths