fix the exec flags