fixed image retrieval