fix end bars