fixing undefined backends on first connection