added bad to bar and line and index