bug fix for red task