fixed bug with potentially wrong data size at tape position