fixes image problem