bar not working