bug fix for tailall