db script fix 2