Fix hopper NPE