Fix _defEl null exception