Fix bug whereby executor is not set