Removed duplicated unref - ref for chunk