master image type was not being loaded into db