cleanup some of the phone sample