Bug fixing in seeking process