bm: correct empty bug, handle options