fixing indentation on is_running check on startup