Fix control stop script.