unnecessary and broken cast