removing unnecessary cast