make no-op pattern less restrictive in userprofile.py