fix empty duplicate id
remove empty spaces
remove empty space
Merge pull request #3 from mayeco/duplicate_fix

Database duplicate return fix