remote shutdown bug fix