validate note titles