Bug fix with shim configuration

Serialization bug