fix an issue with spark not starting up