try to fix null reference