fixing image reference names