fixed redirection after device creation