Minor error set

type casting error taken care of.