remove old bufinfo handler
Change lineinfo into async promise