Merge pull request #45 from Jureth/bugs

bug: wrong table name in sqlSigned-off-by: negram <bespoleznyak@narod.ru>
Signed-off-by: negram <bespoleznyak@narod.ru>