take out content and center