Fix Smart Mode Line setup