minor fix to widget query string and switch logging