small tweak to the prebuffer functionality