changed observer to config