fixing bug endpoint in abstract consumer