fixed a bug with missing activity in android