fixed various content bugs.