image fix for registry