hotfix/username in getblocks where condition