fix for gavrilov