fixed wording since type was meant instead of setValue