Add properties factory bean
Fix properties factory bean