fixed database in package environment