fixed red anchor bug