Fixed issue with binding inside single quotes
Fixed some logging issues