fixed nullpointer in first activity