Fixed reading multi references; saving reference on CSV