Bar controllew don't works