Invalid Variable $smaInfo should be $mem in DefaultController