remove exec statement