fixed death code in isValidAction look comments