Wegas merge fix

fix 259431557f9c106bd339c1225ca44e3ed5f1462f