fix potential problem