Returning values in submission stage to fix exeception