fix bug by coercing `stock_frozen_upto_days` value to int