redandent call bug fix