remove nested previous