Fix bugs introduced in v1.1.1 and v1.1.2

Correctly set value on filefields