spark fix