bug fixes for discovery image location