fixed Valgirnd errors, fixed path