AI fixed

Need to revise staticEvalFunc