wrap submit in try block
reduce useless stdout output