fixing spark path