fixing db bug in install