fix bug: stupid errors in gentags script