merging bug
fix bugs in regressing mask signal, maybe due to changes in numpy