no freezing, unprotect buffer commented