refactor extension try add to Framework