Changed a variable name to fix a bug
Removed db