emtpy tag bug fix