fixed the eroors in landscape mode activity_main