#36 fixed errors with peity bar