declass some of core frame, fix type issue