Remove nav and cpation if empty