fixing parsing of unknown types