Try using an yml parser (just google it, there are online ones)
And notepad++ (free program) is very usefull if u need to edit a config.
Because a space too much will f*k ur config up :/
like theredhun1 says: post the code, we cant see now where the problem might be..