upload, referencefield not resolved