fix TODO mask and base_dir for new rebar