Trying to fix bottom bar bug