shorten tab db id from 16 to 7