fix to sort out leading zero from scope