fixed script error in eval script