fixing some compilation problems when adding another main_activity class.