Fix form encoding issue