Fix ending block time