fix format detection and add status information when workflow is running