Fix: <ttype> from Ref: http://pastebin.com/gZmFWaDJ
fixes
fixes to open