fixing image ref