fix for mongoose model validation

same first arg passed as obj instead of string