fix builder test
fix bug in scoper