modified code for more accurate of splitting authors