fix fuzzy image and added some logging