avoid NPE in Loader