file field bugfixes