remove spaces from secret, e.g. secret given by google has spaces