ensure that custom defaults are not lost

i guess one could invest some more effort to try and support other data types but I am not sure if that is even necessary