fixed an error in mamma