cleaning up submission api