fixed bug with logging gags from web