fix bugs. add auto submission file