fixing dashboard's shutdown button