BUG fix: where sql typo
Release 0.7.1