changed mpconn viewcontrollerm.m code