fix effect type==null