fix mode to exec