fix bug #10: error when nothing submitted