Fixed issue when there is no css file to document the task did not end correctly