correct chrome buffer bug