avoid possible exception on openshift