SotBE S6: clear variable 'random' after use