Bugfix/castle gates defaults