state encode spaces with + for params