add check code before we start to download a tile