trim spaces from path
fix equals statement
minor editing