fix the evaulate function return null.