changed image format from RGBA to RGB