Remove BUG: check string instead of testing on an array, when check
user attributes are avaibale