minor fix for rare case