fix the exec calls