fix rare bug in test