[2.0.0] Fix seek function