Corrected the tag code and merged tags