Removing space to match syntax for other $env

Also to fix regex