fix special case where input expression is just a symbol