fixed foreign key reference setter in Poll entity in rest post call