layout fix to main page when no p2pgraph