Fix NPE after update stocks event