fixed chunk adressing bug