fix NPE in BackendFactory