Fixed bug where submit wasn't working, duh!

Signed-off-by: Simon Bailey <simon@newtriks.com>