fixed a bug
Merge pull request #24 from shaladi/models

fixed bug with debug messages