correct generation of custom-properties