fixed segfaults when stopped and on empty tags