bug fixes for submissions