fix to result script