fixed more issues with images