remove the exec fixing JIRA issue 1931