fix type parsing bug