fixed a bug with image urls