modified getValue of None