some problems with fill random buffer