Handle create_buf