removed an unnecessary cast.