Fix empty submission error