fixing write_submission()