fixed overencoding in view