removed begintype3char workaround