fixed tag uploading bug