fixed issue #50

git-svn-id: http://hxformat.googlecode.com/svn/trunk@247 21d757a5-8d53-0410-89ca-7355cf17ce49