fixing bug where different providers could not be bound