Fixing mam-config errors