remove unnecessary valueOf()