fixed first beat not being displayed correctly