fix uploading crashing (fields)