removing image endpoint and dependencies