fixed frodo script error