Auto converstion for blob type