When describe layout, recordtype name has space, it will be replaced, so we need to use strip but not replace