fix spaces in bar issue