fix incorrect chunk id in cached lua modules