fixing double click bug on submissions works