Fix thumbor and opencv error