fixed exec statements