增加isset判断，消除warning