Added the missing return in dotvalue()