removing sentinel values