fix for bar