fixed issues with image