fixed changes in parseLast()