fixed myscript warnings