fixed files max_length, payments and contract file uploading in creation
merged