filter unused vars in plane and settings