remove old layout and iframe way