device script return fix