prevented deck controller from saving and updating twice