Fix spark configure