[PLAT-4574] added scheme check for consistency