fixed a bug in thumb:tag()