Fixed NullPointerException when no core installed