check on last level before returning.