change loading assert instead of loading raw image