Fix properties factory bean