cleaning up submissions helper