don't include trailing whitespace in position
end declaration right after value