removed last character from tagID (blank), cleared code