Corrected small bug related to tag