image lib fix