more error handing on execute command