removed null pointer on activity_main