bar errors working good