fix errors in order to have a working configuration (contacts and contact_groups are still not working)