undefined bug caused by no-parameter fixed.