fixing image url problems