fix: config environment and small fixes