bug fix ref pic list modification