fixed automated chapter flow