rebuild frame

rebuild frame for new structure