fixed bug in script