fix NPE on pbLoading