[fm] fixed null startdir (#291)