remove extaneous character in env var value