fix effect error in script.lua line 591 592