improve tag detection and deal with no spider tag