fixed main activity layout for better tables