fix for user validation