fix bottom bar issue