issue #4636. finish button