corrected seekpos cast bug