fix for unless tag bug