Fixed several initialization errors for the spades application