add code for fixing space problem
Merge pull request #178 from GRawat/config

Issue fixed #942