Fix infinited spinner.