fix view parameter passing

allows to pass falsy values but not undefined
0.21.8