add buffer for hash change