view_defs on ideas. Also typos and viewdef errors