Fixing missing scopes. Removing redundant log.