minor tweak to account for not yet fully loaded buffer