fixed error when id passed in fields
Merge remote-tracking branch 'origin/master'