submission files 1st step. empty db bug fix