Shoudn't be needed trim here. If there is some unnecesary space in the value should be removed in the implementation.