added cast fix