Fix capital not saving