Fixed bug in line separation using timestamp