fixing image path problem