minor change to return status
bug fix