fixed error where numpy decorator did not propgate kwargs