fixing bug with fetcing images from amazin