Fix #9 set correct scope