test fix for rare cases