fix for optional custom parameter in custom type decoding
fix for optional custom parameter in custom type decoding

JSandusky/castle,ncannasse/castle,motion-twin/castle,ncannasse/castle,JSandusky/castle,motion-twin/castle