Fix #290 buffer source cache problem