fixed an issue with uploading tags