fix to topcontent and maintenance mode