Fixes tag adding error