patch undefined style properties