fix for install db issues with custom prefix