Remove spaces in agrs to use as key for compability with graphite