fixed segment fault when setting FREETAG