avoid NPE when price is null