fix NPE on startup on openshift