some rf holidays
fix declare conditions
fix declare default_scope