Prevent duplicate URI. Fix #263