fixed minor bug in seeking