resolved path problem for images