Fixed 'started is not defined' when starting.