Replacing the space character with \s in order to avoid future errors