fixed submission api endpoint