fixed case where tag buttons are not working