fixed missing message in script error