tried to improved buffer manager initializing