fixed database environment variable declaration?