Fix passing typeString to parser