register basename()
add buffer list