enabling trim for value bindings

not sure if this is how you would do it ...